﻿using mozhi.smarterp.Finance.Querys;
using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Basedatas
{
    public interface IPrintTemplateAppService : IApplicationService
    {
        Task<PagedResultDto<PrintTemplateDto>> FindAsync(PrintTemplatePageQuery query);

        Task<PrintTemplateDto> GetAsync(Guid id);

        Task<PrintTemplateDto> CreateAsync(PrintTemplateCreateDto dto);

        Task<PrintTemplateDto> UpdateAsync(PrintTemplateUpdateDto dto);

        Task<bool> DeleteAsync(Guid id);
    }
}
